/**
 * Created by lcfevr on 16/7/18.
 */



let config = {
    env:  process.env.NODE_ENV,
    PROJECT:'north-face',
    VERSION:'0.0.9',
    doc_title:'',
    BRAND: {
      name: "iBrand",
      logo: "NorthFace.png",
      title: "",
      cache: ""
    },
    baseUrl:process.env.NODE_ENV == 'development' ? globalConfigs.GLOBAL.baseUrl : window.globalConfigs.GLOBAL.baseUrl,
    chubUrl:process.env.NODE_ENV == 'development' ? globalConfigs.GLOBAL.chubUrl : window.globalConfigs.GLOBAL.chubUrl,
    isIPad: /ipad/i.test(window.navigator.userAgent),
    isIphone: /iphone|ipad|ipod/i.test(window.navigator.userAgent),
    isWechat: /MicroMessenger/i.test(window.navigator.userAgent),
    isUCBrowser: /UCWEB|UCBrowser/i.test(window.navigator.userAgent)
};

export default config;
